package com.softWang.system.controller.vo.systemDictType;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
@Data
public class SystemDictTypeAddParam {

    @ApiModelProperty(value = "字典名称，长度为60")
    @NotBlank(message = "dname不能为空")
    @Size(max = 60,message="dname长度为60")
    private String dname;


    @ApiModelProperty(value = "字典key，长度为60")
    @NotBlank(message = "dictKey不能为空")
    @Size(max = 60,message="dictKey长度为60")
    private String dictKey;

}